package org.hengguan.base.contest.model.contest;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.experimental.Accessors;


@Builder
@Getter
@TableName("tb_contest_param_config")
@ApiModel(value="ParamConfigModel对象", description="")
public class ParamConfigModel extends Model<ParamConfigModel> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "参数键")
    @TableField("param_key")
    private String paramKey;

    @ApiModelProperty(value = "参数值")
    @TableField("param_value")
    private String paramValue;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
